import { createApp } from 'vue'
import '@/assets/styles/common.less'
import App from './App.vue'
import 'normalize.css'
import router from '@/router'
import {createPinia} from 'pinia'
// 全局注册骨架屏组件
import XtxSkeleton from '@/components/index'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const app = createApp(App)
const pinia  = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(XtxSkeleton)
app.use(router)
app.use(pinia)
app.mount('#app')



